package com.answer.wx.gateway;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AdviceMode;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

@EnableSwagger2
@SpringBootApplication
@MapperScan(basePackages = {"com.answer.wx.dao"})
@Slf4j
public class GSOnlineLiveApplication implements ApplicationRunner {

  public static void main(String[] args) {
    SpringApplication.run(GSOnlineLiveApplication.class, args);
  }

  @Override
  public void run(ApplicationArguments args) throws Exception {
    log.info("泼河生活圈后台服务（gs_online_live）------>>启动完毕");
  }
}
